package com.hdu.dwh.exception;

import lombok.Data;

public class FlinkWebException extends Exception{
    private String FlinkMessage;

    public FlinkWebException(String message) {
        super(message);
    }


    public FlinkWebException(String message, String FlinkMessage) {
        super(message);
        this.FlinkMessage = FlinkMessage;
    }

    public String getFlinkMessage() {
        return FlinkMessage;
    }

    @Override
    public String getMessage() {
        return super.getMessage();
    }
}
